﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Torch_IServices
{
    public interface INewsCateGoryBll
    {
        Task<int> AddNewsCateGoryAsync(string title);
        Task<int> EditNewsCateGoryAsync(int id, string title);
        Task<int> DeleteNewsCateGoryAsync(int id);
        Task<List<NewsCategoryDto>> GetNewsCateGoryAllAsync();
        Task<NewsCategoryDto> QueryNewsCateGoryByIdAsync(int id);
        //Task<List<NewsCategoryDto>> QueryNewsCateGoryByNameAsync(string title);
    }
}
